$primary-theme-color: #409EFF;
$success-theme-color: #67C23A;
$warning-theme-color: #E6A23C;
$danger-theme-color: #F56C6C;
$info-theme-color: #909399;

$themes: (primary, #409EFF),
        (success, #67C23A),
        (warning, #E6A23C),
        (danger, #F56C6C),
        (info, #909399);

@each $name, $color in $themes {
  .#{$name}-theme {
    .theme-bg {
      background-color: $color;
    }
    .theme-color {
      color: $color;
    }
  }
}

